package com.gxa.modules.pc.hospital.mapper;

import com.gxa.modules.model.dto.DoctorDTO;
import com.gxa.modules.model.entity.hospital.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.modules.model.dto.WaitDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 科室表 Mapper 接口
 * </p>
 *
 * @author zhuiyi
 * @since 2022-11-13 05:39:52
 */
@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {
    Set<String> queryBigNames();

    List<DoctorDTO> getDoctors(@Param("departmentName") String departmentName, @Param("day") String day);

    List<WaitDTO> getWaitFromDoctor(Integer userId);
}
